package search.impl;

import main.SearchManager;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import search.FileHandler;
import search.Parser;
import search.WebSpider;
import vo.Program;

import java.io.*;
import java.net.HttpURLConnection;
import java.net.SocketException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.*;

/**
 * 请在此类中完成自己对象初始化工作，并注册
 */
public class Manager
{
	//目标：University of LiverPool
	//Program of Postgraduate Tagught: https://www.liverpool.ac.uk/study/postgraduate-taught/courses/
	static
	{




		// TODO:在此初始化所需组件，并将其注册到SearchManager中供主函数使用
		SearchManager.registFileHandler(new Handler());
		SearchManager.registSpider(new Spider());
	}
}
